package com.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by Administrator on 2017/6/16 0016.
 */
@Controller
@RequestMapping(value = "")
public class IndexController {

    @RequestMapping(value = "/" ,method = RequestMethod.GET)
    public String index(){
        return "index";
    }
}
